package com.demo.java.pattern.stratege;

import org.springframework.stereotype.Service;

@Service
@OrderHandlerType(source = "mobile", payment = "alipay")
public class MobileAlipayOrderPayHandlerImpl implements OrderPayHandler {
    @Override
    public void handle(Order order) {
        System.out.println("mobile alipay order handler");
    }
}
